package io.renren.service.impl;

import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import io.renren.dao.WxUserDao;
import io.renren.entity.WxUser;
import io.renren.service.WxUserService;


@Service("wxUserService")
public class WxUserServiceImpl implements WxUserService {
    @Resource
    private WxUserDao wxUserDao;

    @Override
    public WxUser queryObject(Long id) {
        return wxUserDao.queryObject(id);
    }

    @Override
    public List<WxUser> queryList(Map<String, Object> map) {
        return wxUserDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return wxUserDao.queryTotal(map);
    }

    @Override
    public void save(WxUser wxUser) {
            wxUserDao.save(wxUser);
    }

    @Override
    public void update(WxUser wxUser) {
            wxUserDao.update(wxUser);
    }

    @Override
    public void delete(Long id) {
            wxUserDao.delete(id);
    }

    @Override
    public void deleteBatch(Long[]ids) {
            wxUserDao.deleteBatch(ids);
    }
	
}
